package com.kc.sjwh.other;

/**
 * ajax请求的返回结果
 * date: 2017年5月15日
 * @author zhangGuihua(hua7381@163.com)
 */
public class AjaxRes {
	/**状态*/
	private String status = "200";
	/**消息*/
	private String msg;
	/**数据*/
	private Object data;
	/**错误信息*/
	private String errMsg;
	/**错误堆栈*/
	private String errTrace;

	public AjaxRes() {
	}
	
	public AjaxRes(Object data) {
		this.data = data;
	}
	
	public AjaxRes(Object data, String msg) {
		this.data = data;
		this.msg = msg;
	}
	
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Object getData() {
		return data;
	}
	public void setData(Object data) {
		this.data = data;
	}
	public String getErrMsg() {
		return errMsg;
	}
	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}
	public String getErrTrace() {
		return errTrace;
	}
	public void setErrTrace(String errTrace) {
		this.errTrace = errTrace;
	}
}